package top.healthylife.gateway.platform.zzc.dto.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.request.req.ApiReqDto;

import java.math.BigDecimal;

/**
 * @author : GaoZeXi
 * @date 2021/3/11 14:49
 */
@Data
@Accessors(chain = true)
@ApiModel("个人黑名单")
public class ZzcReqBlackListSpecV3Dto extends ApiReqDto {
    @ApiField(value = "姓名", necessity = true)
    @ApiModelProperty(value = "姓名", required = true, example = "只能为合法的中国姓名（包括汉字和少数民族名字里的点“·”）")
    private String name;
    @ApiField(value = "身份证号码", necessity = true)
    @ApiModelProperty(value = "身份证号码", required = true, example = "符合身份证规范且为有效的中国身份证")
    private String pid;
    @ApiField(value = "手机号码", necessity = true)
    @ApiModelProperty(value = "手机号码", required = true, example = "长度为11位的数字，必须为合法手机号码")
    private String mobile;
    @ApiField(value = "贷款类型", necessity = false)
    @ApiModelProperty(value = "贷款类型", required = false, example = "贷款类型标签。参考《中智诚字段规范定义》")
    private String loanType;
    @ApiField(value = "客群类型", necessity = false)
    @ApiModelProperty(value = "客群类型", required = false, example = "客群类型标签。参考《中智诚字段规范定义》")
    private String customType;
    @ApiField(value = "分期类型", necessity = false)
    @ApiModelProperty(value = "分期类型", required = false, example = "分期类型标签。参考《中智诚字段规范定义》")
    private String termType;
    @ApiField(value = "贷款金额", necessity = false)
    @ApiModelProperty(value = "贷款金额", required = false, example = "贷款金额，单位“元”。不得超过人民币一亿元，且为整数，不保留小数")
    private BigDecimal loanAmount;
    @ApiField(value = "家庭住址", necessity = false)
    @ApiModelProperty(value = "家庭住址", required = false, example = "标准化中国地名，包含省市县（区）等详细信息")
    private String homeAddress;
    @ApiField(value = "家庭电话", necessity = false)
    @ApiModelProperty(value = "家庭电话", required = false, example = "格式：区号-座机号码；'-'为英文字符的短横线")
    private String homePhone;
    @ApiField(value = "工作单位名称", necessity = false)
    @ApiModelProperty(value = "工作单位名称", required = false, example = "单位名称的全称")
    private String workName;
    @ApiField(value = "工作单位地址", necessity = false)
    @ApiModelProperty(value = "工作单位地址", required = false, example = "标准化中国地名，包含省市县（区）等详细信息")
    private String workAddress;
    @ApiField(value = "工作单位电话", necessity = false)
    @ApiModelProperty(value = "工作单位电话", required = false, example = "格式：区号-座机号码；'-'为英文字符的短横线")
    private String workPhone;
    @ApiField(value = "联系地址", necessity = false)
    @ApiModelProperty(value = "联系地址", required = false, example = "标准化中国地名，包含省市县（区）等详细信息")
    private String address;

    /**
     * todo  文档上给出的 此字段 是否必填 为   Y/N
     */
    @ApiField(value = "子机构名", necessity = false)
    @ApiModelProperty(value = "子机构名", required = false, example = "平台机构的必填字段,用于上报具体提交查询的机构或部门名称，字段命名规则和中智诚协商而定")
    private String subTenant;

    @ApiField(value = "设备信息", necessity = false)
    @ApiModelProperty(value = "设备信息", required = false, example = "平台机构的必填字段,用于上报具体提交查询的机构或部门名称，字段命名规则和中智诚协商而定")
    private Device device;
}
